<template>
	<view class="empty-box">
		<image src="../static/images/wx_s_13.png"></image>
		<view class="text">{{message}}</view>
	</view>
</template>

<script>
	export default {
		props :{
			message: {
				type: String,
				default: "暂无数据~"
			},
		},
	}
</script>

<style lang="scss" scoped>
	.empty-box {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 80vh;
		
		image {
			width: 140rpx;
			height: 140rpx;
		}
		
		.text {
			font-size: 28rpx;
			margin-top: 60rpx;
		}
	}
</style>